/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package cc;
import java.io.*;
import java.util.*;
import java.util.concurrent.*;
/**
 *
 * @author hcc25_000
 */
/*public class NutritionFacts {
    private  final int servingSize;
    private  final int servings;
    private  final int calories;
    private  final int fat;
    private  final int sodium;
    private  final int carbohydrate;
    
    public static class builder{
        private  final int servingSize;
        private  final int servings;
        private  int calories;
        private  int fat;
        private  int sodium;
        private  int carbohydrate;
        
        public builder(int servingSize,int serving){
            this.servingSize=servingSize;
            this.servings=serving;
        }
        
        public builder calories(int val){
            this.calories=val;
            return this;
        }
        
        public builder fat(int val){
            this.fat=val;
            return this;
        }
        
        public builder sodium(int val){
            this.sodium=val;
            return this;
        }
        
        public builder carbohydrate(int val){
            this.carbohydrate=val;
            return this;
        }
        
        public NutritionFacts build(){
            return new NutritionFacts(this);
        }
    }
    
    public NutritionFacts(builder build){
        this.calories=build.calories;
        this.carbohydrate=build.carbohydrate;
        this.fat=build.fat;
        this.servingSize=build.servingSize;
        this.servings=build.servings;
        this.sodium=build.sodium;
        
        System.out.println(" "+this.calories+" "+this.carbohydrate+" "+this.fat+" "+this.servingSize+" "+this.servings+" "+this.sodium);
    }
    
    public static void main(String[] args){
        NutritionFacts f=new NutritionFacts.builder(1,2).calories(3).carbohydrate(4).fat(5).sodium(6).build();
    }
}*/

public class NutritionFacts{
    private static final Date birthDate;
    private static final Date BOOM_START;
    private static final Date BOOM_END;
    
    static{
        Calendar defCal=Calendar.getInstance(TimeZone.getTimeZone("GMT"));
        defCal.set(1965, Calendar.JANUARY, 1, 0, 0, 0);
        birthDate=defCal.getTime();
        Calendar gmtCal=Calendar.getInstance(TimeZone.getTimeZone("GMT"));
        gmtCal.set(1946, Calendar.JANUARY, 1, 0, 0, 0);
        BOOM_START=gmtCal.getTime();
        gmtCal.set(1965, Calendar.JANUARY, 1, 0, 0, 0);
        BOOM_END=gmtCal.getTime();
    }
    
    public NutritionFacts(){
        System.out.println(birthDate.toString());
        System.out.println(BOOM_START.toString());
        System.out.println(BOOM_END.toString());
        System.out.println(/*birthDate.compareTo(BOOM_START)>=0 &&*/ birthDate.compareTo(BOOM_START));
        System.out.println(/*birthDate.compareTo(BOOM_START)>=0 &&*/ birthDate.compareTo(BOOM_END));
    }
    
    public static void main(String[] args){
        new NutritionFacts();
    }
}

